package cn.zt.dao;

import cn.zt.model.Student;
import cn.zt.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserDao {

    User selectOne(@Param("userName") String userName);

    void saveUser(User user);

    User queryUserForLogin(@Param("name") String name, @Param("password") String password);
}
